<div class="cp-estate-comment">

    <div class="prime" *ngIf="item.Best">
        <img src="assets/images/Comment/icon_prime.png" alt="">
    </div>
    <div class="user"><img src="{{item.NickPhoto||'assets/images/temp/profile_photo.png'}}" class="avatar" /> <span
            class="name">{{item.Nick.Nick}}</span></div>
    <div class="comment">
        {{item.Content}}

        <div class="imgview">
            <img (click)="showImg($event,i,item.Photo)" *ngFor="let _item of item.Photo;let i=index" src="{{_item}}"
                alt="">
        </div>
    </div>

    <div class="huifu" *ngIf="item.Reply&&item.Reply.length!=0&&isPraise">
        <p class="p1">{{item.Reply.Nick.Nick}}回复:</p>
        <p class="p2">{{item.Reply.Content}}</p>
        <p class="p3">全部回复({{item.Reply.Count}})</p>
    </div>

    <div class="bottm">
        <p class="time">{{item.DateTime}}</p>
        <div class="commentAwesome" *ngIf="isPraise">
            <div class="ct"><img src="assets/images/Comment/icon_reply.png" alt=""></div>
            <div [ngStyle]="{'display': isDj?'none':'block'}" class="am" (click)="clickPraise($event)"><img src="assets/images/Comment/icon_praise.png"
                    alt=""><span>{{item.Praise}}</span></div>
            <div [ngStyle]="{'display': !isDj?'none':'block'}" class="am"><img src="assets/images/Comment/icon_praise_on.png"
                    alt=""><span style="color:#FA5F5F">{{item.Praise+1}}</span></div>
        </div>
    </div>
</div>

<cp-image-view [list]="imgview.list" [(show)]="imgview.show" [(index)]="imgview.index" [config]="sliderConfig"></cp-image-view>